package com.feign.serverLineFeign;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.feign.serverLineFeign.entity.ProcessMaterials;
import com.feign.serverLineFeign.param.ProcessMaterialsPageParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 *
 *
 * @Author 王烁烁
 * @Date 2024/8/10
 */
@FeignClient(name ="server-line", url = "http://localhost:9007")
public interface LineFeign {
    //测试接口
    @GetMapping("/productionLine/processMaterials/page")
    PageResult<ProcessMaterials> findPage(ProcessMaterialsPageParam pageParam);

}
